package com.wsc.goods.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wsc
 * @since 2019-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sku")
public class Sku implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("createTime")
    private Long createTime;

    @TableField("updateTime")
    private Long updateTime;

    private Long productId;

    @TableField("skuCode")
    private String skuCode;

    @TableField("skuName")
    private String skuName;

    @TableField("marketPrice")
    private Integer marketPrice;

    private Integer price;

    @TableField("costPrice")
    private Integer costPrice;

    @TableField("saleCount")
    private Integer saleCount;

    private Integer sortindex;

    @TableField("availableStock")
    private Integer availableStock;

    private String indexs;

    @TableField("frozenStock")
    private Integer frozenStock;


}
